package com.kafang.learnaid.demo2.mapper;

import com.kafang.learnaid.demo2.entity.UserEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface UserMapper {

    @Select("SELECT * FROM employee")
    List<UserEntity> selectAllEmployees();
}
